package com.ruoyi.task;

import com.ruoyi.quartz.mapper.SysJobLogMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component("otherTask")
public class OtherTask {

    @Autowired
    SysJobLogMapper sysJobLogMapper;

    /**
     * 清理定时任务日志表
     */
    public void cleanJobLog(){
        sysJobLogMapper.cleanJobLog();
    }
}
